package com.ruoyi.yf.service;

import com.ruoyi.yf.domain.YfOutstoreRecord;
import java.util.List;

/**
 * 医废出库记录Service接口
 * 
 * @author XiaoYi...
 * @date 2020-07-21
 */
public interface IYfOutstoreRecordService 
{
    /**
     * 查询医废出库记录
     * 
     * @param codeid 医废出库记录ID
     * @return 医废出库记录
     */
    public YfOutstoreRecord selectYfOutstoreRecordById(String codeid);

    /**
     * 查询医废出库记录列表
     * 
     * @param yfOutstoreRecord 医废出库记录
     * @return 医废出库记录集合
     */
    public List<YfOutstoreRecord> selectYfOutstoreRecordList(YfOutstoreRecord yfOutstoreRecord);

    /**
     * 新增医废出库记录
     * 
     * @param yfOutstoreRecord 医废出库记录
     * @return 结果
     */
    public int insertYfOutstoreRecord(YfOutstoreRecord yfOutstoreRecord);

    /**
     * 修改医废出库记录
     * 
     * @param yfOutstoreRecord 医废出库记录
     * @return 结果
     */
    public int updateYfOutstoreRecord(YfOutstoreRecord yfOutstoreRecord);

    /**
     * 批量删除医废出库记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYfOutstoreRecordByIds(String ids);

    /**
     * 删除医废出库记录信息
     * 
     * @param codeid 医废出库记录ID
     * @return 结果
     */
    public int deleteYfOutstoreRecordById(String codeid);


    // 部分医废(一批医废一次未出完)出库记录
    void saveOutRecordList(List<YfOutstoreRecord> outrecordList);
}
